var $$ = mdui.JQ;

window.onload = function() {
  var windowWidth = $$(window).width();
  var leftDrawer = new mdui.Drawer("#left-drawer");
  if(windowWidth > 1024) {
    leftDrawer.open();
  }
};